//
//  MainViewController.m
//  CustomDateTimePicker
//
//  Created by lanou3g on 15/7/17.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "MainViewController.h"
#import "CustomDatePickerView.h"
#import "HomePageViewController.h"
#import "ViewController.h"

@interface MainViewController ()

@end

@implementation MainViewController

//- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil{
//    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
//    if(self){
//        //自定义初始化
//    }
//    return self;
//}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor colorWithRed:255 / 256.0 green:204 / 256.0 blue:204 / 256.0 alpha:1];
    CustomDatePickerView *pickerView = [[CustomDatePickerView alloc]initWithFrame:CGRectMake(0 , 0 , self.view.bounds.size.width , self.view.bounds.size.height)];
    [self.view addSubview:pickerView];
    
}




- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
